package com.jidu.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
@Builder
@ApiModel(value = "后台首页参数",description = "后台首页参数")
@AllArgsConstructor
@NoArgsConstructor
public class DataVo implements Serializable {
    @ApiModelProperty(value = "今日新增用户数")
    private Integer todayUserNumber;

    @ApiModelProperty(value = "总用户数")
    private Integer totalUserNumber;

    @ApiModelProperty(value = "今日收入金额")
    private BigDecimal todayMoney;

    @ApiModelProperty(value = "总收入金额")
    private BigDecimal totalMoney;

    @ApiModelProperty(value = "总课时")
    private Integer totalHour;

    @ApiModelProperty(value = "剩余课时")
    private Integer resHour;

    @ApiModelProperty(value = "收入趋势图")
    private List<Map<LocalDate,Object>> incomeDetails;

    @ApiModelProperty(value = "老师带课排行榜")
    private List<Map<String,Object>> teacherRanking;
}
